package day6;

public class t2 {
    public static void main(String[] args) {
        int i=101,count =0;
        for(;i<=200;i++){
            int k;
            for( k=2;k<i;k++){
                if(i%k==0) break;
            }
            if(k==i) {
                System.out.println(i);
                count++;
            }
        }
        System.out.print("一共有"+count+"个质数");
    }
}
